<template>
  <div class="big-box vertical-horizontal-center">
    <div class="small-box">
      <div class="img-big-box">
        <div class="img-box">
          <img class="auto-img" :src="successed"/>
        </div>
      </div>
      <div class="desc">您已提交成功</div>
      <div class="back-btn" @click="btnClick">返回</div>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      successed: require('../../../assets/images/successed.png')
    }
  },
  methods: {
    btnClick() {
      this.$router.push('/')
    }
  }
}
</script>

<style lang="scss" scoped>
.auto-img{
    display: block;
    width: 100%;
    height: auto;
  }
  .big-box{
    width: 100%;
    margin-top: 100px;
  }
  .big-box .small-box{
    width: 100%;
    text-align: center;
    padding: 15px;
  }
  .big-box .small-box .img-big-box{
    display: flex;
    justify-content: center;
  }
  .big-box .small-box .img-box{
    width: 100px;
  }
  .big-box .small-box .desc{
    font-weight: bold;
    padding: 15px 0;
    font-size: 14px;
  }
  .vertical-horizontal-center{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .back-btn{
    background: rgb(60, 129, 247);
    border-radius: 5px;
    width: 100%;
    color: #fff;
    padding: 15px 0;
    font-size: 12px;
    margin-top: 20px
  }
</style>
